import schedule
import time
from xhs_user_info_save import *
from xhs_by_day_cs import *
def job():
    print("备份任务执行中...")
    print(xhs_user_info_bf())

# 定义任务
schedule.every().day.at("05:00").do(job)

# 无限循环，检查并执行任务
while True:
    schedule.run_pending()
    time.sleep(1)